package gates;

public class NandGate extends Gates {

	@Override
	public boolean eval(boolean input1, boolean input2) {
		return !(input1 && input2);
	}

	@Override
	public String toString() {
		return "NAND";
	}

	@Override
	public String toByte() {
		return "10";
	}

}
